package com.example.good.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("学生")
@TableName("students")
public class StudentDO extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 学生id
     */
    private String studentId;

    /**
     * 学生姓名
     */
    private String studentName;

    /**
     * 班级id
     */
    private Long classId;
    

    /**
     * 1：男
     * 0：女
     */
    private int sex;

    /**
     * 年龄
     */
    private int age;
    
}
